home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / strategy / tictac2-.000 / tictac2- / tictac2 / screen.h < prev    next >
Text File  |  1980-01-04  |  2KB  |  49 lines

  1. /*****************************************************************************.
  2. **  TicTac2:  Simple TicTacToe two-player game against another user or cpu.  **
  3. **  Copyright (c) 1995 Ian Singh                                             **
  4. **                                                                           **
  5. **  This program is free software; you can redistribute it and/or modify it  **
  6. **  under the terms  of the  GNU General Public License as published by the  **
  7. **  Free Software Foundation;  either version 2 of the License, or (at your  **
  8. **  option) any version later.                                               **
  9. **                                                                           **
  10. **  This program is distriubted in the hope that it  will  be  useful,  but  **
  11. **  WITHOUT   ANY   WARRANTY;   without   even   the  implied  warranty  of  **
  12. **  MERCHANTABILITY or FITNESS FOR  A  PARTICULAR  PURPOSE.   See  the  GNU  **
  13. **  General Public License for more details.                                 **
  14. **                                                                           **
  15. **  You should have received a copy of the GNU General Public License along  **
  16. **  with  this  program;   if not,  write  to the Free Software Foundation,  **
  17. **  Inc.,  675 Mass Ave, Cambridge, MA 02139, USA.                           **
  18. **                                                                           **
  19. **  Ian Singh                           Ian Singh                            **
  20. **  am256@freenet.carleton.ca           3G Arnold Dr.                        **
  21. **                                      Nepean, Ontario                      **
  22. **                                      K2H 6V6                              **
  23. .*****************************************************************************/
  24.  
  25.  
  26. #define BOARD_WIDTH   30 
  27. #define BOARD_LENGTH  13
  28. #define BOARD_SIZE    strlen(BOARD)
  29.  
  30.  
  31. void writex(int x, int y);
  32. void writeo(int x,int y);
  33. void setup_terminal_stuff()  ;
  34. void kill_terminal_stuff();
  35. void HiLiteSpace( pos cur ) ;
  36. void UnHiLiteSpace( pos cur ) ;
  37. void center(int y, int x1, int x2, char *string); 
  38. void UnHiLiteByNum(int space);
  39. void HiLiteByNum(int space);
  40. int selectspace(char *field);
  41. void refresh_board(char *field);
  42. void WriteXByNum(int space);
  43. void WriteOByNum(int space);
  44. void Pause();
  45.  
  46.  
  47.                                     
  48.             
  49.